package cn.edu.sctu.sctu_lysd.biz;

import android.widget.TextView;

import cn.edu.sctu.sctu_lysd.base.BasePresenter;
import cn.edu.sctu.sctu_lysd.base.BaseView;
import cn.edu.sctu.sctu_lysd.bean.JsonBaseBeen;
import cn.edu.sctu.sctu_lysd.bean.ParcelData;

/**
 * Created by wangfuxin on 2017-04-14.
 */

public interface OrderDetailedMessageBiz {

    interface Presenter extends BasePresenter {

        void getOrder(long parcelId);

        String getInputString(TextView view);

        void accept(long parcelId );
        void acceptCallCancel();

    }


    interface View extends BaseView<Presenter> {

        void getOrderSuccess(ParcelData data);

        void getOrderFailed();

        void acceptSuccess();
        void acceptFailed();

        /**
         * 未缴纳押金
         */
        void notDeposit();


    }

}
